toolbar

Purpose

A toolbar is used to place a series of buttons, such as toolbarbutton or button. The toolbar buttons could be used without toolbars, so a toolbar could be used without tool buttons. However, tool buttons change their appearance if they are placed inside a toolbar.The toolbar has two orientation: horizontal and vertical. It controls how the buttons are placed.

Examples

<z:window title="Toolbar window" border="normal" width="300px">
    <z:toolbar>
        <z:toolbarbutton label="Left"/>
        <z:space/>
        <z:toolbarbutton label="Right" image="/img/computer.png"
                dir="reverse"/>
    </z:toolbar>
    <z:toolbar orient="vertical">
        <z:button label="Left" image="/img/computer.png" width="125px"/>
        <z:toolbarbutton label="Right" image="/img/computer.png"
                dir="reverse"/>
    </z:toolbar>
</z:window>

Description

Attributes

ZK Official Reference

Component Reference

Show toolbar Component Reference

Java API

Show toolbar Java API